/// total : 2
/// rows : [{"title":"就业调研标题是的发送到发","busId":"477566637851635712","type":2,"tempId":"471689327261921280","researchType":2,"teacherId":"423422640286691328","teacherName":"于鹏程","createTime":1638964759000}]
/// code : 200
/// msg : "查询成功"

class RemainDto {
  RemainDto({
    int? total,
    List<Rows>? rows,
    int? code,
    String? msg,
  }) {
    _total = total;
    _rows = rows;
    _code = code;
    _msg = msg;
  }

  RemainDto.fromJson(dynamic json) {
    _total = json['total'];
    if (json['rows'] != null) {
      _rows = [];
      json['rows'].forEach((v) {
        _rows?.add(Rows.fromJson(v));
      });
    }
    _code = json['code'];
    _msg = json['msg'];
  }
  int? _total;
  List<Rows>? _rows;
  int? _code;
  String? _msg;

  int? get total => _total;
  List<Rows>? get rows => _rows;
  int? get code => _code;
  String? get msg => _msg;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['total'] = _total;
    if (_rows != null) {
      map['rows'] = _rows?.map((v) => v.toJson()).toList();
    }
    map['code'] = _code;
    map['msg'] = _msg;
    return map;
  }
}

/// title : "就业调研标题是的发送到发"
/// busId : "477566637851635712"
/// type : 2
/// tempId : "471689327261921280"
/// researchType : 2
/// teacherId : "423422640286691328"
/// teacherName : "于鹏程"
/// createTime : 1638964759000

class Rows {
  Rows({
    String? title,
    String? busId,
    int? type,
    String? tempId,
    int? researchType,
    String? teacherId,
    String? teacherName,
    int? createTime,
  }) {
    _title = title;
    _busId = busId;
    _type = type;
    _tempId = tempId;
    _researchType = researchType;
    _teacherId = teacherId;
    _teacherName = teacherName;
    _createTime = createTime;
  }

  Rows.fromJson(dynamic json) {
    _title = json['title'];
    _busId = json['busId'];
    _type = json['type'];
    _tempId = json['tempId'];
    _researchType = json['researchType'];
    _teacherId = json['teacherId'];
    _teacherName = json['teacherName'];
    _createTime = json['createTime'];
  }
  String? _title;
  String? _busId;
  int? _type;
  String? _tempId;
  int? _researchType;
  String? _teacherId;
  String? _teacherName;
  int? _createTime;

  String? get title => _title;
  String? get busId => _busId;
  int? get type => _type;
  String? get tempId => _tempId;
  int? get researchType => _researchType;
  String? get teacherId => _teacherId;
  String? get teacherName => _teacherName;
  int? get createTime => _createTime;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['title'] = _title;
    map['busId'] = _busId;
    map['type'] = _type;
    map['tempId'] = _tempId;
    map['researchType'] = _researchType;
    map['teacherId'] = _teacherId;
    map['teacherName'] = _teacherName;
    map['createTime'] = _createTime;
    return map;
  }
}
